scala_library(
    sources = ["*.scala"],
    compiler_option_sets = ["fatal_warnings"],
    provides = scala_artifact(
        org = "com.twitter",
        name = "finatra-http-filters",
        repo = artifactory,
    ),
    strict_deps = "True",
    dependencies = [
        "3rdparty/jvm/javax/inject:javax.inject",
        "finagle/finagle-base-http/src/main",
        "finagle/finagle-core/src/main",
        "finatra/http/src/main/scala/com/twitter/finatra/http/contexts",
        "finatra/http/src/main/scala/com/twitter/finatra/http/exceptions",
        "finatra/http/src/main/scala/com/twitter/finatra/http/request",
        "finatra/http/src/main/scala/com/twitter/finatra/http/response",
        "finatra/inject/inject-mdc/src/main/scala",
        "finatra/inject/inject-slf4j/src/main/scala/com/twitter/inject",
        "finatra/utils/src/main/scala/com/twitter/finatra/filters",
        "util/util-core:util-core-util",
        "util/util-stats/src/main/scala/com/twitter/finagle/stats",
    ],
    exports = [
        "3rdparty/jvm/javax/inject:javax.inject",
        "finagle/finagle-base-http/src/main",
        "finagle/finagle-core/src/main",
        "finatra/http/src/main/scala/com/twitter/finatra/http/exceptions",
        "finatra/inject/inject-slf4j/src/main/scala/com/twitter/inject",
        "finatra/utils/src/main/scala/com/twitter/finatra/filters",
        "util/util-core:util-core-util",
        "util/util-stats/src/main/scala/com/twitter/finagle/stats",
    ],
)
